package com.cheng.project_model2.controller;

import com.cheng.project_model2.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Cheng
 * @Description:
 * @Date: 2020/1/15 10:52
 */
@RestController
public class UserController {

    @Autowired
    private TestService testService;

    @PostMapping("insert")
    public void insert() {
        testService.insert();
    }
}
